Initialize some variables.