Fixes modifying instance properties in hooks not saving (#223)