Exposing theme change event and loadDirectory interface