Could you please edit the docstring of the `inverse_transform` method to explain that it works even if the last step does not support the `inverse_transform` method and give motivation for this feature as done for the forward case?