Add reinitialization function for values

Also brings fixes and extensions.
Targets #318.