support for entities with different class names

Signed-off-by: Felix Gabel <felix.gabel@me.com>