Get or set property of object.