Make save operations data type specific. Fixes #66