Added javadocs to interface