Changing the singleton method

The return type of the singleton method had been changed.