Fix accessor declared in ambient context