Enhanced example in JavaDoc.
Enhanced JavaDoc.