Changes listener arguement type to use interface instead of object.