This attempts to undo as many side-effects as possible from a call to add_resources.
a Application
the location of the resources.