Add get_all_categories method

Try again.