BUG: Add std_depends to init. Added hierarchical example. Fixes #2.