Changed TKApplication protocol