Add some methods to events