Supressed SparseEfficienyWarning by writing ignore_warning_class helper