Callable class contextfunction