Added collection api feature.