Typo (missing "of") in message: should be "an instance of $0".