Add Generator/UserAgent function