fix GatewaySupport class
add some dockblocks