Implementation and test implementation for an extra feature: The DocumentScaler module.