Adjusting API for crypti version 0.1.9.