Well technically this shouldn't happen. But in theory the TryParse could return NULL for scope and for this case the default Singleton is returned. You could just return scope straight away, I felt it is safer that way.