InvestmentAsset.refuseInvestment and InvestmentAsset.cancelInvestment are the same function, the difference is just the modifiers, the first one being onlyOwner and the second onlyInvestor. So I suggest to merge the functions and create a ownerOrInvestor modifier.