Made some public variables private.