Properly declare -rename:… as returning an object