Remove unused method returnValueForCommand: