Polymorphic measure functions are not called, fixes #256