Removed g: prefix from function names.