Add JavaDoc to methods