Drop warnings for deprecated code

Nice, I was wondering how to do this!