Plugin Development - Storing Custom Entities