Remove the register() method as it is not required.