Changed reference type of parser