Remove references to localhost.