Common-ized a bunch of parsing functions