Implemented generating Events from Entities