Update documentation slightly.
Remove wrapped callback in db_middleware.