voids for setting gap and type to sim::Module