Added sentence examples in javadocs.