Fixed errors while generating javadocs.