Added more detailed Javadoc