CassandraTemplate refactoring