Improvements in variable declaration and definition