Simplify the get_context_data method.