Text this: Optimal Domain and Integral Extension of Operators