Implements RelayCommand<T>.