(frontend_context) Implement process_events