[core] Remove some now unused code in datastream

The code was needed to load extra methods and to clean them up. Now,
with the object model, it is not needed anymore.
[doc] Remove deprecated import