Membranes for separation of higher hydrocarbons from methane