Add some events to handle markers