Exposing the BRDF Models to the Material Editor?

Have you guys had any luck implementing this in 4.4? The code files have changes considerably with the advent of the new Shading Models. I’m trying to add a custom Minnaert BRDF model for a custom shader called ‘Moon’, but there’s no more ‘Diffuse Lighting’ function to switch out the shader model.