Making shadow a constant instead of a var.