For extendable propose, I guess you can replace `__CLASS__` by `get_class($this)`. Otherwise you can't define new constants in extended class without override this method too.