Move action view mixin to utils.