Cleaning up message handler configuration in datatypes.