Document more internals