Multiple Testing Procedures for One- and Two-Way Classified Hypotheses