Allowing result types to be references, changing platform function.