Moved method in command processor to better location.