Residual Distribution of Modular Symbols and Other Types of Cohomology Classes