Refactor|Material: Manage material layers with similar mechanism to decorations