Optimize get for object