This is really internal-only unstable API (or at least in the current form) and should probably be documented as such.