A strong argument can be made that genres are extensions of actual occasions and rituals, that if we look back far enough, most conventions evolved out of their events, such as toasts at dinner, love poems for courtship, epithalamia for marriages, elegies for the occasion of death, and so on.