Remove unneeded globals.

Change-Id: Ib8b30b97ea950dd74095bea7512c7c0031fc848b