Change specs to use parser class.