Improved singleton creation performance.