Add support for headless signing.