Clean up of Crypt class