make document classes follow the same standard