Remove unnecessary dependency from redirect plugin