adds TODO for middleware generations