expose self() to subclass.