Now that the command handlers are callable outside of a CLI context, we should probably refactor the Python bindings to use them.