Added contexts to process callback