Nest the action class within the parser class.