Add back two semi-internal methods, marked as deprecated, to make migration from pre-2.3 versions smoother