saveId -> refs.id except for Rectangle (TODO)