Remove the unnecessary configurations