Modification done to remove the warning message for Generic/raw type