Replace some resources.