Handle names in 'dm' for OSX/iOS