Updated for newest Revenj.