Please make the out parameters pointers rather than refs. We're trying to switch to that model throughout the codebase.