Made some variables private.