Add the ability to optimize writes.