Added new parsing function.