Added javadocs to parameters