deprecate persistence specific classes