attach: replace interface with simple type Upstream-commit: ad8d0c9a8bd93a23c745efe1aac0a0692aeefa91 Component: engine