moving serial types to common location