Adding methods for listeners