Created interfaces for listeners and notifiers.