Get context from params through data

data can't be null (unlike params)