ported latest implementation of Mojolicious::Types