Move all the functions from Hub to Scope and make the existing Hub functions call the ones on the scope.