Remove hack to set proper type of type of application.