Added Factory.
Using Factory in KeepCommand.