Change getter to attribute