Moved the handler initialization after the ROS initialization.