Also, with 5.9, Extract Generators together with File > Save Extracts can be used to achieve the same effect.