Added javaDoc.