A implementation of Singleton DP.