Added stop() method.