Workaround for https://github.com/ratpack/ratpack/issues/482