[#2] Javadocs added.