Update register methods.
Merge pull request #1 from mgp25/master

Update register methods.