Modified to use org.apache version of Curator library.