Added 'Generate' function to 'PairIndicesModule'.