Prepare for porting