Added functions for dynamic injection of toaster into wmCore module