Workaround recently introduced Mono bug.