Removes unused partial