Initial version of document stack