example of dynamically named constructors for L.Class children