Now supporting multiple parents.
More extensive jasmine tests.
Documentation improvements.