function(bbn\Db $db) { parent::__construct($db); $this->initOptional(); $this->notes = new Note($this->db); }