Make the CommandFactory case insensitive.