(Soft) deprecate set_elem/3 in favor of put_elem/3, closes #2259