Wrap render so the arguments could be included