Restore object subscripting, dropping 10.7 compatibility.

This reverts commit 56200cfe9a71930e26dd2eac57b42baeee6870ae.