Be consistent about == usage with typeof