core/handlers: annotate index handler function.