Added register controller and model methods.