Fixing some compiler warnings generated by instrumentType.