Added javadoc to some interfaces.