Fix imports and add actions history sample