add documentation for advanced classes generation