Listeners and PdBase inherit from NSObject