Method of treating a hydrocarbon stream comprising methane, the method comprising: - cooling at least a part of the hydrocarbon stream and a main refrigerant stream by indirect heat exchanging against a pre-cooling refrigerant, to provide a pre-cooled hydrocarbon stream and a pre-cooled main refrigerant stream; - passing the pre-cooled hydrocarbon stream to a first inlet of an extraction column; - discharging an effluent stream, in the form of a methane-enriched hydrocarbon stream, from the extraction column via a vapour outlet arranged gravitationally higher relative to the first inlet into the extraction column, and a liquid methane-depleted hydrocarbon stream from the extraction column via a liquid outlet arranged gravitationally lower relative to the first inlet into the extraction column; - passing the effluent stream to a further heat exchanger; - passing at least a part of the pre-cooled main refrigerant stream to the further heat exchanger; and - cooling both the effluent stream and the at least part of the pre-cooled main refrigerant stream in the further heat exchanger thereby providing a cooled methane-enriched hydrocarbon stream and at least one cooled main refrigerant stream; wherein said passing of the effluent stream to the further heat exchanger and said passing of the pre-cooled hydrocarbon stream to the first inlet of the extraction column comprises indirectly heat exchanging the effluent stream against the pre-cooled hydrocarbon stream, wherein said indirectly heat exchanging of the effluent stream against the pre-cooled hydrocarbon stream comprises passing the pre-cooled hydrocarbon stream from a first inlet into an extraction column heat exchanger, through the extraction column heat exchanger in indirect heat exchanging interaction with the effluent stream, to a first outlet from the extraction column heat exchanger, and passing the effluent stream from a second inlet into the extraction column heat exchanger, through the extraction column heat exchanger in indirect heat exchanging interaction with the pre-cooled hydrocarbon stream, to a second outlet from the extraction column heat exchanger, the method characterized by extracting heat from: - the pre-cooled hydrocarbon stream between the first inlet into the extraction column heat exchanger and the first inlet of the extraction column; and - the effluent stream between the vapour outlet from the extraction column and the second outlet from the extraction column heat exchanger; by heat exchanging against an auxiliary refrigerant stream in the extraction column heat exchanger, wherein the auxiliary refrigerant stream comprises at least a part of the pre-cooled main refrigerant stream. - cooling at least a part of the hydrocarbon stream and a main refrigerant stream by indirect heat exchanging against a pre-cooling refrigerant, to provide a pre-cooled hydrocarbon stream and a pre-cooled main refrigerant stream; - passing the pre-cooled hydrocarbon stream to a first inlet of an extraction column; - discharging an effluent stream, in the form of a methane-enriched hydrocarbon stream, from the extraction column via a vapour outlet arranged gravitationally higher relative to the first inlet into the extraction column, and a liquid methane-depleted hydrocarbon stream from the extraction column via a liquid outlet arranged gravitationally lower relative to the first inlet into the extraction column; - passing the effluent stream to a further heat exchanger; - passing at least a part of the pre-cooled main refrigerant stream to the further heat exchanger; and - cooling both the effluent stream and the at least part of the pre-cooled main refrigerant stream in the further heat exchanger thereby providing a cooled methane-enriched hydrocarbon stream and at least one cooled main refrigerant stream; - the pre-cooled hydrocarbon stream between the first inlet into the extraction column heat exchanger and the first inlet of the extraction column; and - the effluent stream between the vapour outlet from the extraction column and the second outlet from the extraction column heat exchanger; by heat exchanging against an auxiliary refrigerant stream in the extraction column heat exchanger,