Adding custom shading model

I’ve found another tutorial here: Exposing the BRDF Models to the Material Editor? - #7 by anonymous_user_c28e91fb

But the main problem is that where the MATERIAL_SHADINGMODEL_* are set have changed location and I can’t find the new one. Does anyone one know where it might have moved to?
Thanks