bugfix: The Entity type may not be available at runtime (e.g. in the Eclipse compiler)