Changed Hub.registration_timeout to be a config input.