Remove erroneous typeof