less strict stubs to avoid ruby 1.9 complains