Set title.
Common functions.