Lightweight subset of GLib