Remove uneeded code
Don't destroy repositories