Remove old warning method