Missing change to doSample method signature.