Saved some bytes in the self-contined version.