Support for THREADED and BOOSTIO branches.