Add resource.