Add ProxyLifeCycle interface. Update proxy example.