Added example javadocs