Removing unnecessary stuff from config