Added partial support for Registration v2
Merge pull request #260 from TheKirk/master

Merged, hopefully it'll fully integrated into the lib later