Change how commands are defined, allowing for dynamic command definitions