Moved out parsing methods to inline methods