Common code between all multiplex components