Added event raising to the Command handler.