Add command creation and destruction functions