Added :first and :last pseudoclasses