Documented Quality of Service function factory