Avoid unnecessary ElementClass validation work