added ability to stub methods with primitive return types. -James