Add support for base type in some collection methods