Switch away from deprecated `addCommand` in favor of `add_command`