Changed listener to interface.