This is not necessary as ```UserWarning``` is the default.