Adding custom events to any object and managing event listeners to them.