Added a small utility for safe scope $applys