Added profiling events and support for setting consistency level