Changes to project so it works in Wildfly.