Add extend implementation