Javadocs added for all methods