Added UUID generation for newly saved objects