Rename to ExecuteCommand and fix a few details.