Patch A Class Python Definition Functionary Agentic Definition