Add instancetype

Babby's first pull request