Implemented get_plugins API