More progress towards tree-based command processing