"""Module with custom loss functions."""