Implemented templates for easier complex entity creation.