Refactored to depend on cassandra crate.