Added require of pathname instead of implicit reference via RIEL.