Customized for ko templates