Corrected return type on pre-save hook.