Refactor practice-list generation.