Fix a variety of __weak related stuff.