Fix api getActions to also load generic actions