Document master control