Raise error when collection-element declared outside of CollectionView