Added listener handling to kernel interface.