Moved a method that was specific to the ContentSpecParser.