shorten some method names, and modify register method.