Replace obsolete as_options method with direct name access.