Ok, this is weird, since ```apply``` is also used in other places. I replaced it with manual passing of the individual parameters. Let's see what travis says, now.