Use registerObject instead of registerAlias
Merge pull request #6 from mwjames/alias

Use registerObject instead of registerAlias