Variable `$rev` doesn't exist here.