#83 Filter exported variables according to the real imports