Add extend and from to Id spec