add support for java.util.Collection