Sources formatting. Var definitions optimized.