Changes to use ListenerAdapter, non compilable.