Update internals.rst