Adds the import of selected member of the reference and removes explicit usage of the reference with the member in the file.