Rewrite collection controller