add lazy_attribute to core