More porting.
Initial stop function.