Added ability to hook into item creation