Changed setInline call to setLocality