Used base class for parser