Add feature to limit the amount of document creation