Replace deprecated calls to get_context_instance()
Merge pull request #8 from tmuras/master

Replace deprecated calls to get_context_instance()