Modify for yapi support.