Update to new pluginlib and shared pointers.