Removed unused code which generates a NPE on JBoss Web/7.0.13.Final.