Committed changes from sandy branch that don't use FastLinkedList for applies.