Add a sample method with some Javadoc.