update api interface.

- fix api interface.
- make reloadable models.
- fix api private method interfaces.