Replaced call to deprecated mark_context_dirty.
Merge pull request #2 from andrewhancox/master

Replaced call to deprecated mark_context_dirty.