Set all resources.