Fix namespace for ModalityType