Implement and test methods for setting document properties and type prerequisites.