Removed `Array.remove` and introduce a bit shorter code for events.