restore boilerplate code to new brushes