Updated for instancetype.
updated for instancetype