This is deprecated.  Use stub() instead.