Add mode statement parsing