Monkey patches (workaround) for different issues.