From JKISSprng project.