Templates for LSMSA