Generalized some types.