Splits out parsing functions.