Initial porting effort.