emit less unnecessary code in side modules