Not for actual use, just to attempt implementation from spec.