improved types support in scg-visualiser