Porting some Dalliance code.