Protect console calls