Add encryption support.