I will review old results (joint with I. Mirkovic and D. Rumynin) on localization theory for representations of semi-simple Lie algebras and then discuss recent results and conjectures extending them to more general contexts, emphasizing relation to derived algebraic geometry.