* Annotate more attributes, arguments, and return types. * Add "dims" argument to get_img_info(), added in 2.4.6.