Moved proxy out of private so config.proxy could be called.