Add support for retry hashes. #1