Add linkedAttributes into stubModule

Compressor bug fix