Revert "Add partial framework for registering commands"

This reverts commit 8e6f41033e2afd3ce0e999dd02cda98e5f32b6db.