External import @class generation