Updated to supress warnings in deprecated files (for my OCD)