Allow specifying both related document or collection.
Allow circular definitions by supporting delays.
Allow circular definitions.
Tests for cyclic references.
Updated README.