Added notes about why this is necessary. Undo manager fun.