Fixed outdated call to console function.