Make ref private