Made the indexer on BasicContext virtual so that HierarchicalContext can override it.