Workaround to RESTEASY-1012 - Resteasy broken with Spring 4.