GA now suppors IP and User-Agent overriding.

Also some pep8 fixes.