Refactoring registrations to extension methods

Implements #108 
I didn't see it was private.