Added comments to Generator code.