Added FindByTypeValue and fixed some typedef names