Use instancetype for singleton
Merge pull request #13 from segiddins/patch-1

Use instancetype for singleton