Refine default data creation.

- Refine logic for creation of study materials.