Adding documentation so that the Javadocs are more useful

Fixed