Switch to using custom Material enum