Implemented the #createInterface method and removed the #createMap method.
Changed the method calls to match the changes made to the module's interface.
Removed the conditional invocation of #emit based on the 'inbound' boolean parameter.
Removed the conditional invocation of #on based on the 'inbound' boolean parameter.