Fixed a bunch of issues related to mutable objects being passed to down via prototypes.