Move global resources (e.g. image corpus) instances to separate file.