Implements createCollection