WIP: Events which trigger visibility re-calculation are now customizable.