Issue #132: first constructing objects, then setting dependencies