Implement event id's and types to allow managing them and preventing problems