Added text direction property