add docblock to __invoke