The party or witness may be required to attend before the judge or a master.