Migrates to new controller pattern.