Simplify all the public api interface in order to make it easy to use.