[DOM]: Create setter/getter only if `transform` exists.