Restore object subscripting, dropping 10.7 compatibility.

This reverts commit e088be77aebee5c096a5a55917ed98f3b68eac04.