Improvements for generated documentation for wrappers + removed useless code in JAVA wrapper related to factory