Changed to look at the assignability of the loaded class to determine if a class is shutdownable closes #1711