miscellaneous type improvements