Add opts access in closure mode