remove deprecated types