Updating imports and how it deals with different resource types.