Deprecated `stub` replaced with `double`