Add example for minimal thread safe singleton.