simplify loss specification in `mistnet()`