- unify duplicated implementations that were copied repeatedly - update outdated patterns to more modern ones