[aphrodite] Edit document API