Improved proxy initialization.