fix documentation: the 'ctx' parameter is required