Better error for bad type syntax.