tls: remove api boilerplate