Remove console log if it's unnecessary.