Improve compatibility with Mojolicious 5.00