Require tree

fixes #610