moved accepts method from Mojolicious::Types to Mojolicious::Renderer