Changed the set piece method to pass a transform.