Fixed warnings when generating javadoc