Only add mapping if it doesn't already exist.
Move MATERIALS constant to SchematicFormat