Add constructor to all Parser classes.