Add basic support for program resources.