add_method works with lambda closures (previously only with method ptrs)