Migrates layers to new controller pattern.