Fixed wrong result type in unwrapped internals causing copies