Add scaffold for newItem function.