Add head annotation in HmmModel