API: Fix get_all_tags comment.

Golf down get_all_parts().

Remove unneeded parts of get_parts_by_category().