Generalizing interfaces to Herk/Syrk and Trmm.