A simple function to define lazy properties