Correlation of the highest energy cosmic rays with nearby extragalactic objects