Set titles properly.