Fix allowing RemotePromises to be returned directly