Add comments to directory.rb