Moved the parse functions to be inline in a header