Implement parsing for the basic functions