Added stop() function.