Changes to gvalue, renaming of some accessor functions