Fixed deprecation warnings in body parser.
Release v0.2.17.