MD5 class added. Improve type conversions.