Add deprecation mechanism and convert 'lambda' to 'sigma'.