add listener signatures to Readable/Writable events.