The use of stub (in some cases?) is deprecated - use double instead