Simplify creating/returning "result" pointer