Add missing method and change some javadoc.
Delete unnecessary method.