Improved GString handling.