Workaround rust compiler bug.