Use wrapper function to test instanceof.