Removed the discarded code in VarianceExtension