Add AddComponent method to plugin