Added document base classes.