Get rid of unnecessary console calls