Would be nice to have ``$entityClass`` and ``$embeddedClass``