Changed javadoc to spec