Document interface functions