More hacking on TomEE class