Added lastCommand property