added convenience methods Hub.Attach/Detach