refactoring for circular import
Merge remote-tracking branch 'origin/cassandra' into cassandra