Added object.sizes function