Updating shade to use plugin factory