type on parser base class declaration
refactored spec naming