Add facet and sort code to request init.