Set resources.