Delete Unused Method And Remove Warnings