Metadata should not be removed from since it is referenced from config