Removed get_kernel method.