MAGMA-210 - entity type can now be defined by the user