Fix registering/unregistering events.
Make Triggers use a function rather a static DOM element.