Add plugin class and dependencies