Fixed callbacks for kernel creation and component retrieval