Define interface for register() method