Added some Command pattern.