Migrated frontend code.