Document command builder