Fix proxy initialization.