Fixed some collection api importing issues