Set title appropriately.