Eliminate extraneous resources.