Overwriting scope inheritance