Corrected unused warning on new method