Added support for THA theme hooks