Added javadoc to explain purpose.