Add singleton implementation.