Check class of arguments for wrappers