Encoding done right.