Initialized some variables.