Call done() only if it has been supplied.
Get rid of the default handler, which doesn't work.
Fix the documentation, the given examples wouldn't work.