Adding the `registerOne` method to Event class.
Allows an event to be bound and then removed.