public function removeAccount(ChartAccountsAccount $account) {
        for ($i = count($this->accounts) - 1; 0 <= $i; --$i) {
            if ($account->getNumber() !== $this->accounts[$i]->getNumber()) {
                continue;
            }
            unset($this->accounts[$i]);
        }
        return $this;
    }