Add collection type and some new methods.