Added JavaDoc to public methods