Some formating. Some porting.