write javadoc for all api. todo: determine the way for coverage finally
block in Dispather.