Replaced Iterable<> return type with List<> in public API to avoid deserialization errors.