Added a reference to the listener registration method.