JavaDocced.
remove some unnecessary methods.