dump() was declared with 2 arguments, not 3.