Add context to exists helper