Add missing Pathname require.