Fixes to Simple Prefix, which is MIT-licensed, but strangely closed-source.