Isolate registry parsing and bindings generating in tasks
Merge pull request #137 from tomaka/fix-123

Isolate registry parsing and bindings generating in tasks