Minor get/set speedup, fix Instance.get_attribute()