Add get and put to object property