Rename occurrences of 'graph' to 'context' for consistency.