Added method to set TransformListener shared_ptr.