Stub is deprecated, replace with double()