Refactoring, finished replacing with ttUser::isPluginEnabled().