Workaround on #826.