def add(self, **kwargs):
for key in kwargs:<EOL><INDENT>if type(kwargs[key]) == str:<EOL><INDENT>self._children[key] = Directory(kwargs[key])<EOL><DEDENT>else:<EOL><INDENT>self._children[key] = kwargs[key]<EOL><DEDENT>self._children[key]._env = self<EOL>self._children[key].apply_config(ConfigApplicator(self.config))<EOL>self._children[key].prepare()<EOL><DEDENT>
Add objects to the environment.