Add registering method