Removes unnecessary foundation components