Register annotation classes with doctrine's class loader.