Made pyT3D interface nicer.