Add extend snippet