Changed API for item creation.