[master 1/7] Add a decorator for guarding methods and properties with a property