Add initalize method to Parser class