Add pseudo :first and :last.