mem_fn and references?