Factored out kernel class description code, added in one more error
message