Register the entity types when the plug-in is enabled.