Adding checksum_type parameter for backwards compatibility with yum.