replaced __getitem__ with cf method in Keyspace class