Mat class (Foundry)