Reverted unconnected change to custom-agg example (moved to PR #1040).
Review changes.