'See the docs for xmodule.modulestore.mixed.MixedModuleStore'

def create_item(self, user_id, course_key, block_type, block_id=None, fields=None, **kwargs):

    with remove_ccx(course_key) as (course_key, restore):
        return restore(self._modulestore.create_item(user_id, course_key, block_type, block_id=block_id, fields=fields, **kwargs))
