Removing config code