Add context for logicOps