Make dropwizard 0.7 compatible.