Refactoring of IDeclarationList<T>: rename Length -> Count, make T covariant.