kernel/kernel.py: Give registerable plugins ability to run setup methods