I didn't think you could add property to a free function, only a method in a class, which this isn't.