First implementation of custom generator for C++ (support for external modules).