Turn material property into getter/setter