Added missing implementation of CommandInvoker.