Removed all unneceessary resources.