Make variable declaration as local as possible.