Write operations: Define `insert()` method