Introduce a helper, and use it.
Permit creative inventory assignment.