Cleanup item create code.