Added support for applying the transform attribute