Updated TGVizLayout for SWIG-compatability.