I don't think we keep domain objects such as this one in functions much. Is this a pattern you've copied from elsewhere in the jclouds code?