Porting WIne to D