completly rewritten the TypedHubProxy