Add some headless API