Refactor generators to use run loop priorities