Group WAMP protocol functions in new class