Hack: Dirty library support