add code flow interfaces.