Support new Knockout definition (generics) and replace bool to boolean