add attr inheritage support.
add line addon function.