Use gint64, add fallback values for get_int/get_double methods, add get_elements