Custom generic entity creation.