How did I fix «Invalid Document» / «Element 'argument': The type definition is abstract» for a custom module?

An addition of these 2 lines solved the problem: