Expand view rewrite. Incomplete.