Remove dom type