Added command handling system.