add object loader.
Optimize
Optimize
compatibility for new api.