Parser: Adding parse functions and tests.