Fixed javadoc by making all methods public