Add method for key verifying.