Fixed typeof usage.