Initialize local variables.