L.Class usage example Said L.Class where it should've said MyClass 

Usage example for L.Class options mechanism should refer to MyChildClass inheriting from MyClass instead of MyChildClass inheriting from L.Class directly.