Handle base class when parsing