Refactoring extension registration - abstract away object method registration