There are several Synth passes that are restricted to hw.module but there is no good reason to keep it specific to hw.module.