Added alter hook for generic views output.