Simplfied template a bit more.