Added Directory::contains()