toFluentIterable should accept Function<Object, T>