Drop invalid callback when returning error body.
Constructor accepts options.
PHPdoc.