Adds instanceOf test