Refactoring for wamp
Fixed issue where self.receive_types was not extending correctly
Refactoring and some doc work to wamp.