Checks the module for documentation and best-practice warnings.

def warn(self, collection):
        """Checks the module for documentation and best-practice warnings."""
        super(CodeElement, self).warn(collection)
        if not "implicit none" in self.modifiers:
            collection.append("WARNING: implicit none not set in {}".format(self.name))