TLS extra definition and helpers.