Added JavaDoc and generated it