Add backwards compatibility for register API.
Merge pull request #24 from Impromptu/backwards-compat

Add backwards compatibility for register API.