Added more details for javadocs