Added getApplicationMetadata() to cpEntityManager.