make pw-modules independent of cell_type