decorate

When writing code, to decorate means to wrap one piece of code with another.