removing the deprecated class