Fix load and unload api
Fix trivial for unload api
Add reference for flow api