[minor] Actually use the parser class
[fix] Don't pass `res` as error argument.
[fix] Corrected dependencies versions