Updated to new PTK Api.