Fix docs and speed sampling.