Changed **replace_user** to user_id in ItemFactory.