Remove unsupported elements