Fix custom tab API to allow using as soon as constructed