Expose text attribute