Use subclasses method instead of class variable.
Authored by: jplang 2012-02-24
Parent: [r8976]
Child: [r8978]