The issue arises while trying to pass the current contract as an argument to a function. Current workaround is to use: `Address.to_contract(Contract.address)`, but `Contract.self` should be implemented to avoid using this workaround.