Expose safer typing for context