Added getter for g2d obj.