Removed unneccessary register method.