+ bool o2, docstring const & definition = docstring());
+extern void add_known_environment(std::string const & environment,
+ std::string const & o1, bool o2, docstring const & beg,
+ docstring const & end);
+extern Layout const * findLayoutWithoutModule(TextClass const & textclass,
+ std::string const & name, bool command);
+extern InsetLayout const * findInsetLayoutWithoutModule(
+ TextClass const & textclass, std::string const & name, bool command);
+/*!
+ * Check whether a module provides command (if \p command is true) or
+ * environment (if \p command is false) \p name, and add the module to the
+ * list of used modules if yes.
+ */
+extern bool checkModule(std::string const & name, bool command);