Remove firstRejected function