Document some internals (most is to-be-documented still).