Fixed bug in which getCmd was being called but no longer existed in parent class.