Improve setting of title.