Moving attribute-function from member into private attribute member. And add some modification to private attribute.