Change to MD5 to halve storage requirements, also allow nils