Remove a non-functioning directive
Improve error handling in directives for ships
Extract a new method from enumerating items
Improve error handling in directives for materials