Fix breakage from dir() changes