Add getObjSize indexers for Image and File types.