fix method signature of get_context_data, fixes #180