Adapted parser configuration code to latests changes in attoparser APIs.