Add methods for insert and connect.