Added ts_install_helpers_create_entity function for creating custom entity objects.