added `$actions` argument for bulk actions