why does a new class have deprecated code in it already?