Workaround to avoid internal compiler bug.