Fix undefined constant class access.

Use late static binding because "self::" is executed
in the defining class context (parent) and not
in the runtime class context that calls it (child).