More poly function documentation and domainerrors.