Add missing methods for commands

Specifically, add getParticipatingPrimitives.