Change function signature for list.