Make dropwizard 0.7.0 compatible.