Initializing some variables.