Fix a bunch of "undefined property" E_NOTICEs.

Change-Id: I20fc8c2d54df90610626359c8d7ddc9ff1995010