Mathewpeterson/add more deprecation

@dianakhuang @dmitchell @cpennington Review?
use `getattr(obj, key)` rather than `obj.__getattribute__(key)`.