This isn't very Pythonic. The parent class also already has a mapping of kernels by their IDs, so we shouldn't be tracking them in two different places.