Adding theoretical (untested) support for blacklisting / custom costs