MULE-7473: Removed deprecated methods in Transformer interface.

Seems like the exception is not raised anymore.