Building up more of the base classes needed for JPQL query support.