Added code to deal with draftpage, samplepage, masterpage and referencepage tokens Added code to limit allowed watermarks