Isolate registry parsing and bindings generating in tasks

Fix #123