extract Generator from Route