Adding function get_all to Plugin class