Updating dependencies and reimplementing expand and shorten.