Added some basic parsing functions.