Motivic Decompositions and Hecke-Type Algebras