Cast the data context per method.

Do not store reference to the data context.