Inspecting object before save.