Add getPlugins function. Fixes issue where where default plugins were being returned.